package mrusanov.ui.battle

import mrusanov.ui.CentralPanel
import mrusanov.ui.PanelBuilder
import mrusanov.battle.Battle
import javax.swing.JPanel
import javax.swing.JLabel

class BattleResultPanel(battle: Battle) extends JPanel {

	private val labelInfo = new JLabel
	labelInfo.setText(battle.hostTeam + "-" + battle.guestTeam + " " +
		battle.hostPoints + ":" + battle.guestPoints)

	add(labelInfo)

	// TODO make it look nice
}